import model from '../model/detail'
// 这里对detail页面进行逻辑控制处理后把数据传递到router
module.exports = async(ctx, next) => {
  let data = await model.detail()
  await ctx.render('detail', {
    asset: ctx.asset(['vendor', 'common', 'entry.detail']),
    data
  })
  
}
